<template>
  <router-view/>
</template>

<script setup>
import {ref} from "vue";

const model = ref({
  id: '',
  pageable: true,
  rowKey: 'demo',
  search: [{
    prop: 'demo',
    label: "测试",
    type: 'daterange',
  },],
  form: [{
    prop: 'demo',
    label: "测试",
    type: 'daterange',
  },],
  fields: [{
    prop: 'demo',
    label: "测试啊实打实大苏",
    width: 1400,
    searchable: true
  }],
  buttons: [{
    value: 'add',
    label: '新增',
    icon: 'CirclePlus',
    type: 'primary',
    location: 'tools'
  }, {
    value: 'edit',
    label: '修改',
    icon: 'Edit',
    type: 'primary',
    location: 'table'
  }, {
    value: 'remove',
    label: '删除',
    icon: 'Delete',
    type: 'danger',
    location: 'table'
  }, {
    value: 'cancel',
    label: '取消',
    type: 'default',
    location: 'dialog'
  }, {
    value: 'save',
    label: '保存',
    type: 'primary',
    location: 'dialog'
  },]
})

</script>
